package com.ljx.service;

import com.ljx.pojo.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.pojo.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 李加喜
 * @since 2020-09-25
 */
public interface EduChapterService extends IService<EduChapter> {
    //查询章节与小节
    List<ChapterVo> getChapterById(String courseId);
    //根据Id删除章节的信息
    Boolean deleteChapter(String chapterId);
    //根据课程ID删除章节的信息
    void removeChapterByCourseId(String courseId);
}
